Skip to content

Add support for generating enum pages for the manual#21469

Open
kocsismate wants to merge 1 commit intophp:PHP-8.5from
kocsismate:enum-manual
Open

Add support for generating enum pages for the manual#21469
kocsismate wants to merge 1 commit intophp:PHP-8.5from
kocsismate:enum-manual

Conversation

@kocsismate
Copy link
Member

@kocsismate kocsismate commented Mar 18, 2026

I intentionally omit the usage of the enumitemdescription element, and I generate links instead based on php/phd#180 (comment).

@DanielEScherzer
Copy link
Member

I'm not sure I'm qualified to review the doc-generation parts of the gen_stub script, deferring to @Girgias for that
But, should this be targeting master instead of 8.5?

@kocsismate
Copy link
Member Author

but, should this be targeting master instead of 8.5?

No, I intentionally targeted 8.5 because that's the version which is being synchronized with the manual.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really see how I can approve the PR. I can only assume it produces the expected output for the documentation, as the usual issue with documentation related features of gen_stub is that there are no tests, and adding tests would just cluster php-src for stuff that it doesn't care about.

But feel free to merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants